package com.yonyou.gmmc.service.forum.model;

import java.util.Date;
import javax.persistence.*;

@Table(name = "TT_FORUM_READING")
public class TtForumReading {
    @Id
    @Column(name = "READING_ID")
    @SequenceGenerator(name="",sequenceName="SEQ_TT_FORUM_READING")
    private Long readingId;

    @Column(name = "POTENTIAL_USER_ID")
    private Long potentialUserId;

    @Column(name = "TOPIC_ID")
    private Long topicId;

    @Column(name = "READING_NUM")
    private Long readingNum;

    @Column(name = "CREATE_DATE")
    private Date createDate;

    @Column(name = "CREATE_BY")
    private Long createBy;

    @Column(name = "UPDATE_DATE")
    private Date updateDate;

    @Column(name = "UPDATE_BY")
    private Long updateBy;

    @Column(name = "DELETE_FLAG")
    private Short deleteFlag;

    /**
     * @return READING_ID
     */
    public Long getReadingId() {
        return readingId;
    }

    /**
     * @param readingId
     */
    public void setReadingId(Long readingId) {
        this.readingId = readingId;
    }

    /**
     * @return POTENTIAL_USER_ID
     */
    public Long getPotentialUserId() {
        return potentialUserId;
    }

    /**
     * @param potentialUserId
     */
    public void setPotentialUserId(Long potentialUserId) {
        this.potentialUserId = potentialUserId;
    }

    /**
     * @return TOPIC_ID
     */
    public Long getTopicId() {
        return topicId;
    }

    /**
     * @param topicId
     */
    public void setTopicId(Long topicId) {
        this.topicId = topicId;
    }

    /**
     * @return READING_NUM
     */
    public Long getReadingNum() {
        return readingNum;
    }

    /**
     * @param readingNum
     */
    public void setReadingNum(Long readingNum) {
        this.readingNum = readingNum;
    }

    /**
     * @return CREATE_DATE
     */
    public Date getCreateDate() {
        return createDate;
    }

    /**
     * @param createDate
     */
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    /**
     * @return CREATE_BY
     */
    public Long getCreateBy() {
        return createBy;
    }

    /**
     * @param createBy
     */
    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    /**
     * @return UPDATE_DATE
     */
    public Date getUpdateDate() {
        return updateDate;
    }

    /**
     * @param updateDate
     */
    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    /**
     * @return UPDATE_BY
     */
    public Long getUpdateBy() {
        return updateBy;
    }

    /**
     * @param updateBy
     */
    public void setUpdateBy(Long updateBy) {
        this.updateBy = updateBy;
    }

    /**
     * @return DELETE_FLAG
     */
    public Short getDeleteFlag() {
        return deleteFlag;
    }

    /**
     * @param deleteFlag
     */
    public void setDeleteFlag(Short deleteFlag) {
        this.deleteFlag = deleteFlag;
    }
}